package com.example.guiguihomemedical.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;


@Data
@NoArgsConstructor
@AllArgsConstructor
public class FollowUp  {
    private Integer id; //主键id、记录该条随访
    private Integer doctorId; //医生id
    private Integer state;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String editTime;
    private String idCard;
    private String followUpType;
    private Integer followUpTypeId;
    @Override
    public String toString(){
        return doctorId+followUpType+followUpTypeId;
    }
}
